﻿@using kxcxw.Data.Common
@{
    ViewBag.Title = "开心促销网--实体店";
    ViewBag.Description = "开心促销网实体店,为消费者发现最优惠的促销信息,让消费者享受超低折扣的优质服务;为商家找到最合适的消费者,给商家提供最大收益的互联网推广.";
    ViewBag.keywords = "开心促销网实体店";
    Layout = "~/Views/Shared/_HomeLayout.cshtml";
}
<div id="header" style="position: relative; width: 100%; float: left; margin-bottom: 8px;">
    <div style="width: 225px; float: left">
        <a href="@Url.Action("index")">
            <img src="@Url.Content("~/Content/img/logo.gif")" alt="开心促销网" /></a>
        @Html.Partial("_ProductMENU", ViewData["ProductMenu"])
    </div>
    <div class="right_content">
        @Html.Partial("_SeachHeader", "2")
        <div class="flashbox">
            @Html.Partial("_FlashBox", "2")
        </div>
        <div class="rightbar">
            @Html.Partial("_AnnouncementInfo")
            <a href="@Url.Action("Feedback","Content",null,null)" target="_blank" title="点击给我们提建议"><img src="@Url.Content("~/Content/img/feedback.gif")" alt="点击给我们提建议" /></a>
        </div>
        @Html.Partial("_ActiveList", ViewData["ActivityList"])
    </div>
</div>
<div class="products">
    <div class="p_left">
        <!--产品列表开始-->
        @{ IList<kxcxw.Data.Entities.SysItemDetial> lstPmTypes = ViewBag.PromotionTypes; }
        @{int i = 1;}
        @foreach (kxcxw.Data.Entities.SysItemDetial item in lstPmTypes)
        {
            List<kxcxw.Data.Entities.PublichInformation> listpm = (List<kxcxw.Data.Entities.PublichInformation>)ViewData[item.ItemDeitalID];
            if (listpm.Count > 0)
            {
            <div class="product_box yellow">
                <div class="header">
                    <span>@item.itemDetialName</span>@Html.ActionLink("更多>>", "MoreList", "Home", new { PromotionType = "main", PromotionTypeId = item.ItemDeitalID, typeId = 2 }, new { target = "_blank" })
                </div>
                <div class="content line_01">
                    <div class="line_02">
                    </div>
                    @Html.Partial("_InfoList", ViewData[item.ItemDeitalID])
                </div>
            </div>
            @Html.Partial("_showAd", "SB" + i.ToString())
       i++;
            }
        }
        <!--产品列表结束-->
    </div>
    <!--精品特色开始-->
    <div class="p_right">
        @Html.Partial("_showAd", "SC1")
        <div class="product_box jinping">
            <div class="header">
                <span>精品区</span>@Html.ActionLink("更多>>", "MoreList", "Home", new { PromotionType = "sidle", PromotionTypeId = DataConstants.JinPingItemID, typeId = 2 }, new { target = "_blank" })</div>
            @Html.Partial("_BoutiqueArea", ViewData["BoutuqueArea"])
        </div>
        @Html.Partial("_showAd", "SC2")
        <div class="product_box jinping">
            <div class="header">
                <span>特色区</span>@Html.ActionLink("更多>>", "MoreList", "Home", new { PromotionType = "sidle", PromotionTypeId = DataConstants.TeSheItemID, typeId = 2 }, new { target = "_blank" })</div>
            @Html.Partial("_BoutiqueArea", ViewData["Characteristic"])
        </div>
        @Html.Partial("_showAd", "SC3")
        <!--火热排行-->
        <div class="product_box hotlist">
            <div class="header">
                <span>火热排行</span></div>
            @Html.Partial("_HotPop")
        </div>
        <!--火热排行-->
        @Html.Partial("_showAd", "SC4")
         <!--导购排行-->
        <div class="product_box hotlist">
            <div class="header">
                <span>导购排行</span></div>
            @Html.Partial("_DaoGouPop", ViewData["DaoGouPop"])
        </div>
        <!--导购排行-->
    </div>
    <!--精品特色结束-->
</div>
